package com.heima.model.article.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 搜索热词表
 *
 * @TableName ap_hot_words
 */
@TableName(value = "ap_hot_words")
@Data
public class ApHotWords implements Serializable {
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
    /**
     *
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Object id;
    /**
     * 热词
     */
    @TableField(value = "hot_words")
    private String hotWords;
    /**
     * 0:热,1:荐,2:新,3:火,4:精,5:亮
     */
    @TableField(value = "type")
    private Integer type;
    /**
     * 热词日期
     */
    @TableField(value = "hot_date")
    private String hotDate;
    /**
     * 创建时间
     */
    @TableField(value = "created_time")

    private Date createdTime;
}